//user.js
module.exports = function(sequelize, DataTypes) {
    var model = sequelize.define("employee", {
        emp_id: {
            type: DataTypes.INTEGER,
            primaryKey: true,
            allowNull: false,
            autoIncrement: true,
        },
        emp_name: DataTypes.STRING,
        emp_flag: DataTypes.BOOLEAN
    }, {
        freezeTableName: true, // Model 对应的表名将与model名相同
        timestamps: false
    });

    return model;
};